﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Car_info.aspx.cs" Inherits="Car_info" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>无标题页</title>

    <script src="JS/jquery-1.7.2.js" type="text/javascript"></script>
    <link href="css/css.css" rel="stylesheet" type="text/css" />
    
    <script language="javascript" type="text/javascript">
    $(document).ready(function(){
    var carID=document.getElementById("Hidden1").value;
    if(carID=="BMW001_1系"){
    $("#img1").attr("src","img/tu1.jpg");
    }
     if(carID=="BMW001_3系"){
    $("#img1").attr("src","img/tu2.jpg");
    }
     if(carID=="BMW001_5系"){
    $("#img1").attr("src","img/tu3.jpg");
    }
     if(carID=="BMW001_6系"){
    $("#img1").attr("src","img/tu4.jpg");
    }
     if(carID=="BMW001_7系"){
    $("#img1").attr("src","img/tu5.jpg");
    }
     if(carID=="BMW001_X1"){
    $("#img1").attr("src","img/tu6.jpg");
    }
     if(carID=="BMW001_X3"){
    $("#img1").attr("src","img/tu7.jpg");
    }
     if(carID=="BMW001_X5"){
    $("#img1").attr("src","img/tu8.jpg");
    }
     if(carID=="BMW001_X6"){
    $("#img1").attr("src","img/tu9.jpg");
    }
     if(carID=="BMW001_M系"){
    $("#img1").attr("src","img/tu10.jpg");
    }
     if(carID=="BMW001_Z4"){
    $("#img1").attr("src","img/tu11.jpg");
    }
    })
    
    function buy(){
    var carID=document.getElementById("Hidden1").value;
    if(carID==""||carID==null){
    carID="BMW001_1系";
    window.location.href="buy.aspx?carID="+escape("BMW001_1系")+"";
    return;
    }
    else{
    window.location.href="buy.aspx?carID="+escape(carID)+"";
    return;
    }
    }
    </script>
    <style type="text/css">
        .auto-style1 {
            width: 365px;
        }
        .auto-style2 {
            width: 359px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <input id="Hidden1" type="hidden" value="<%=Session["carID"] %>" />
    <div style="width:980px; height:auto">
    <div id="Div1" style="width:775px; height:auto; float:left; margin-left:0px">
    <div style="height:250px; width:775px; border:solid 1px #ccc">
    <div style="height:7px"></div>
    <table>
    <tr style="height:230px">
    <td style="width:400px; border:solid 1px #ccc">
    <img id="img1" style="height:230px; width:400px" alt="宝马系列" src="img/7_副本.jpg" />
    </td>
    <td style="width:375px">
    <div class="car_div">厂商指导价：</div>
    <div>
    <table>
    <tr style="height:20px">
    <td class="auto-style1">
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
    </td>
    </tr>
    </table>
    </div>
    <div class="car_div">车型点评：</div>
    <div>
    <table>
    <tr style="height:20px; line-height:20px">
    <td style="text-align:left" class="auto-style2">
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
    &nbsp;</td>
    </tr>
    <tr style="height:20px; line-height:20px">
    <td style="text-align:left" class="auto-style2">
        &nbsp;</td>
    </tr>
    </table>
    </div>
    <div class="car_div">宝马预约：<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="Button1" runat="server" Text="预约车辆" />
        </div>
    </td>
    </tr>
    </table>
    </div>
     <div style="height:5px; width:778px"></div>
    <div style="height:30px; background-image:url(img/bggg.jpg); width:778px">
    <a class="NBAA" href="JavaScript:void(0)">基本信息</a>
    </div>
    <table style="width:778px">
    <tr style="height:25px">
    <td class="base_td">
    宝马型号：
    </td>
    <td class="base_td2">
    <%=GetBaseInfo()[0] %>
        <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
    </td>
    </tr>
    <tr style="height:25px">
    <td class="base_td">
        供应商名称：
    </td>
    <td class="base_td2">
     <%=GetBaseInfo()[1] %>
        <asp:TextBox ID="TextBox4" runat="server"></asp:TextBox>
    </td>
    </tr>
    <tr style="height:25px">
    <td class="base_td">
        仓库号：
    </td>
    <td class="base_td2">
     <%=GetBaseInfo()[2] %>
        <asp:TextBox ID="TextBox5" runat="server"></asp:TextBox>
    </td>
    </tr>
    <tr style="height:25px">
    <td class="base_td">
        颜色：
    </td>
    <td class="base_td2">
     <%=GetBaseInfo()[3] %>
        <asp:TextBox ID="TextBox6" runat="server"></asp:TextBox>
    </td>
    </tr>
    </table>
    <div style="height:5px; width:778px"></div>
    <div style="height:30px; background-image:url(img/bggg.jpg); width:778px">
    <a class="NBAA" href="JavaScript:void(0)">车身参数</a>
    <table style="width:778px">
    <tr style="height:25px">
    <td class="base_td_25">
    车体形式：
    </td>
    <td class="base_td_35">
    <%=GetBodyinfo()[1] %>
        <asp:TextBox ID="TextBox7" runat="server"></asp:TextBox>
    </td>
    <td class="base_td_25">
    车厢长度：
    </td>
    <td class="base_td_35">
    <%=GetBodyinfo()[2] %>
        <asp:TextBox ID="TextBox12" runat="server"></asp:TextBox>
    </td>
    </tr>

    <tr style="height:25px">
    <td class="base_td_25">
    
        用途：</td>
    <td class="base_td_35">
    
        <%=GetBodyinfo()[3] %>
        <asp:TextBox ID="TextBox8" runat="server"></asp:TextBox>
        </td>
    <td class="base_td_25">
    
        车厢宽度：</td>
    <td class="base_td_35">
    
        <%=GetBodyinfo()[4] %>
        <asp:TextBox ID="TextBox13" runat="server"></asp:TextBox>
        </td>
    </tr>
    <tr style="height:25px">
    <td class="base_td_25">
    
        车身所有颜色：</td>
    <td class="base_td_35">
    
        <%=GetBodyinfo()[5] %>
        <asp:TextBox ID="TextBox9" runat="server"></asp:TextBox>
        </td>
    <td class="base_td_25">
    
        车厢高度：</td>
    <td class="base_td_35">
    
        <%=GetBodyinfo()[6] %>
        <asp:TextBox ID="TextBox14" runat="server"></asp:TextBox>
        </td>
    </tr>
    <tr style="height:25px">
    <td class="base_td_25">
    
        出场时间：</td>
    <td class="base_td_35">
    
        <%=GetBodyinfo()[7] %>
        <asp:TextBox ID="TextBox10" runat="server"></asp:TextBox>
        </td>
    <td class="base_td_25">
    
        入库日期：</td>
    <td class="base_td_35">
    
       <%=GetBodyinfo()[8] %>
        <asp:TextBox ID="TextBox15" runat="server"></asp:TextBox>
        </td>
    </tr>
    <tr style="height:25px">
    <td class="base_td_25">
    
        大小：</td>
    <td class="base_td_35">
    
        <%=GetBodyinfo()[9] %>
        <asp:TextBox ID="TextBox11" runat="server"></asp:TextBox>
        </td>
    <td class="base_td_25">
    
        动力：</td>
    <td class="base_td_35">
    
       <%=GetBodyinfo()[10] %>
        <asp:TextBox ID="TextBox16" runat="server"></asp:TextBox>
        </td>
    </tr>
    </table>
    
     <div style="height:5px; width:778px"></div>
    <div style="height:30px; background-image:url(img/bggg.jpg); width:778px">
    <a class="NBAA" href="JavaScript:void(0)">发动机参数</a>
    </div>
    <table style="width:778px">
    <tr style="height:25px">
    <td class="base_td">
        冷却系统：
    </td>
    <td class="base_td2">
        <%=GetFDJinfo()[1] %>
    </td>
    </tr>
    <tr style="height:25px">
    <td class="base_td">
        发动机型号：
    </td>
    <td class="base_td2">
        <%=GetFDJinfo()[2] %>
    </td>
    </tr>
    <tr style="height:25px">
    <td class="base_td">
        送气方式：
    </td>
    <td class="base_td2">
        <%=GetFDJinfo()[3] %>
    </td>
    </tr>
    <tr style="height:25px">
    <td class="base_td">
        发动机航程：
    </td>
    <td class="base_td2">
       <%=GetFDJinfo()[4] %></td>
    </tr>
     <tr style="height:25px">
    <td class="base_td">
        最大时速：     </td>
    <td class="base_td2">
       <%=GetFDJinfo()[5] %></td>
    </tr>
    </table>
    
     <div style="height:5px; width:778px"></div>
    <div style="height:30px; background-image:url(img/bggg.jpg); width:778px">
    <a class="NBAA" href="JavaScript:void(0)">底盘参数</a>
    </div>
    <table style="width:778px">
    <tr style="height:25px">
    <td class="base_td_25">
    
        驱动方式：</td>
    <td class="base_td_35">
    <%=GetDP_info()[1] %>
    </td>
    <td class="base_td_25">
    
        变速器形式：</td>
    <td class="base_td_35">
     <%=GetDP_info()[6] %>
    </td>
    </tr>
    <tr style="height:25px">
    <td class="base_td_25">
    
        底盘高度：</td>
    <td class="base_td_35">
     <%=GetDP_info()[2] %>
    </td>
    <td class="base_td_25">
    
        排档方式：</td>
    <td class="base_td_35">
     <%=GetDP_info()[4] %>
    </td>
    </tr>
    <tr style="height:25px">
    <td class="base_td_25">
    
        底盘材料：</td>
    <td class="base_td_35">
     <%=GetDP_info()[3] %>
    </td>
    <td class="base_td_25">
    
        备胎规格：</td>
    <td class="base_td_35">
     <%=GetDP_info()[5] %>
    </td>
    </tr>
    </table>
    
     <div style="height:5px; width:778px"></div>
    <div style="height:30px; background-image:url(img/bggg.jpg); width:778px">
    <a class="NBAA" href="JavaScript:void(0)">行驶参数</a>
    </div>
    <table style="width:778px">
    <tr style="height:28px">
    <td class="base_td">
    最大时速：
    </td>
    <td class="base_td2">
    <%=GetXS_Info()[1] %>
    </td>
    </tr>
    <tr style="height:30px">
    <td class="base_td">
    最大航程：
    </td>
    <td class="base_td2">
   <%=GetXS_Info()[2] %>
    </td>
    </tr>
    <tr style="height:30px">
    <td class="base_td">
    保修期：
    </td>
    <td class="base_td2">
    <%=GetXS_Info()[3] %>
    </td>
    </tr>
    </table>
    </div>
    </div>
    </div>
    </form>
</body>
</html>

